package com.cssy.authority.dao;


import java.sql.SQLException;
import java.util.List;

import com.cssy.authority.entity.UserRole;
import com.cssy.authority.entity.UserRoleExample;

public interface UserRoleDAO {
    void insert(UserRole record) throws SQLException;

    int updateByPrimaryKey(UserRole record) throws SQLException;

    int updateByPrimaryKeySelective(UserRole record) throws SQLException;

    List selectByExample(UserRoleExample example) throws SQLException;

    UserRole selectByPrimaryKey(Long id) throws SQLException;

    int deleteByExample(UserRoleExample example) throws SQLException;

    int deleteByPrimaryKey(Long id) throws SQLException;

    int countByExample(UserRoleExample example) throws SQLException;

    int updateByExampleSelective(UserRole record, UserRoleExample example) throws SQLException;

    int updateByExample(UserRole record, UserRoleExample example) throws SQLException;
}